// pages/components/my-title/my-title.js
Component({
  properties: {
    left: {
      value: false,
      type: Boolean
    },
    right: {
      value: false,
      type:Boolean
    },
    content: {
      value: '神领物流',
      type: String
    }
  },
  data: {
    sysHeight: 20
  },
  lifetimes: {
    attached() {
      const res = wx.getSystemInfoSync()
      this.setData({sysHeight: res.statusBarHeight})
      console.log(res);
    }
  },
  methods: {
    hRight() {
      console.log(1);
    },
    hLeft() {
      wx.navigateBack()
    }
  }
})
